package com.wzy.server.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

//消息

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChatMsg {

    private String from;//发送给我
    private String to;//我发送给谁
    private String content;//内容
    private LocalDateTime date;//时间
    private String fromNickName;//昵称

}
